// import { reactive } from 'vue'


function UseLocalStorage () {

  // 获取本地存储模块
  const localStorageSting = window.localStorage.getItem('user')
  const localStorageId = localStorageSting !== null 
    ? JSON.parse(localStorageSting).id
    : null
  
  return {
    localStorageId
  }

}

export default UseLocalStorage
